FROM anapsix/alpine-java:8_server-jre_unlimited

MAINTAINER dimples@163.com

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

#RUN mkdir -p /dimples-boot/config/dimples/

WORKDIR /dimples-boot

EXPOSE 8080

#ADD ./src/main/resources/dimples ./config/dimples
ADD ./target/dimples-system-start-3.5.1.jar ./

CMD sleep 60;java -Djava.security.egd=file:/dev/./urandom -jar dimples-system-start-3.5.1.jar